#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
    for (int i = 1; i <= 9; i++)
    {
        for (int j = 1; j <= i; j++) { printf("%d*%d=%d\t",j,i,j*i); }
        printf("\n");
       
    }


    for (int i = 1; i <= 5; i++)
    {
        int j = 1;
        for (j = 1; j <= 5 - i; j++)
        {
            printf(" ");
        }
        for (j = 1; j <= 2 * i - 1 ; j++)
        {
            printf("*");
        }
        printf("\n");
        }
    for (int i = 1; i <= 4; i++)
    {
        int j = 1;
        for (j = 1; j <= i; j++)
        {
            printf(" ");
        }
        for (j = 1; j<=9-2*i; j++)
        {
            printf("*");
        }
        printf("\n");
    }
    return 0;
}